package com.google.cbmgraph;

import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.Log;

public class WebGraph extends FragmentActivity {
	/** Called when the activity is first created. */
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Log.d("WebGraphFragmentActivity","I'm here!!!");
		// Need to check if Activity has been switched to landscape mode
		// If so exit this and return to previous activity (which calls for both fragments)
		if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {
			finish();
			return;
		}

		setContentView(R.layout.web_graph);
	}
}
